package com.gsit.omega.ea.services;

import java.util.List;

import javax.persistence.TypedQuery;

import com.gsit.omega.ea.domain.Activity;
import com.gsit.omega.ea.utils.ActivityStatus;


public class ActivityServiceImpl implements ActivityService {
	
	public List<Activity> findAllActivitysByActivityStatus(ActivityStatus activityStatus){
		TypedQuery<Activity> query = Activity.findActivitysByStatus(activityStatus);
		return query.getResultList();
		
	}
}
